package com.ttc.ssm.service.home;

import com.ttc.ssm.common.ManagePage;
import com.ttc.ssm.common.ResumePage;
import com.ttc.ssm.common.SearchJobPage;
import com.ttc.ssm.common.SearchResumePage;
import com.ttc.ssm.mapper.admin.EducationMapper;
import com.ttc.ssm.po.*;

import java.util.List;
import java.util.Map;


/**
 * Created by 58296 on 2016/8/9.
 */
public interface HomeResumeService {
    int insertResumeService(Resume resume) throws Exception;

    int totalResumeRows(ResumePage page) throws Exception;
    List<Resume> selectResumeForPage(ResumePage page) throws Exception;
    Resume selectResumeById(Integer resume_id) throws Exception;
    List<WorkExp> selectWorkByResumeId(int resumeId) throws Exception;
    List<Education> selectEduByResumeId(int resumeId) throws Exception;
    List<CompetitionExp> selectComByResumeId(int resumeId) throws Exception;
    List<Skill> selectSkillByResumeId(int resumeId) throws Exception;

    List<Resume> selectResumeManageByJobId(ManagePage managePage) throws Exception;
    int countResumeManageRows(ManagePage managePage) throws Exception;
    List<Resume> selectResumeManageByJobId2(ManagePage managePage) throws Exception;
    int countResumeManageRows2(ManagePage managePage) throws Exception;

    void updateDeliveryStatus(int delivery_id,int status) throws Exception;
    List<Degree> getDegree() throws Exception;
    List<SalaryType> getSalaryType() throws Exception;
    List<Industry> getIndustry() throws Exception;
    List<JobProperty> getJobProperty() throws Exception;
    List<JobTag> getJobTab(int company_id) throws Exception;

    int countRowsForSearchResume(SearchResumePage searchResumePage) throws Exception;
    List<Resume> selectResume(SearchResumePage searchResumePage) throws Exception;
    int selectCustomerIdByResumeId(int resume_id) throws Exception;
    void insertInvite(Invite invite) throws Exception;

    int checkIsSend(int resume_id, int job_id) throws Exception;
}
